require('./searchProduct.css');
require('./searchProduct.js');

var _account_service = require('service/account-service.js');

var header = {
    init : function(){
        this.bindEvents();
        this.loadAccountInfo();
        return this;
    },
    bindEvents : function(){

    },
    loadAccountInfo : function(){
        _account_service.checkLogin(
            function(res){
                console.log("Success......");
            },
            function(errMsg){
                console.log("Error.......");
            }
        );
    }
};

module.exports = header.init();